import request from '@/utils/request'

// 查询人物收录列表
export function listFigureInclusion(query) {
  return request({
    url: '/figureInclusion/list',
    method: 'get',
    params: query
  })
}

// 查询人物收录详细
export function getFigureInclusion(id) {
  return request({
    url: '/figureInclusion/' + id,
    method: 'get'
  })
}
export function getExamineStatus(projectId) {
  return request({
    url: '/inclusionExamine/getExamineStatus/' + projectId,
    method: 'get'

  })
}

export function getUniversityInformation(id) {
  return request({
    url: '/universityInformation/' + id,
    method: 'get'
  })
}


// 新增人物收录
export function addFigureInclusion(data) {
  return request({
    url: '/figureInclusion',
    method: 'post',
    data: data
  })
}

// 修改人物收录
export function updateFigureInclusion(data) {
  return request({
    url: '/figureInclusion',
    method: 'put',
    data: data
  })
}

// 删除人物收录
export function delFigureInclusion(id) {
  return request({
    url: '/figureInclusion' + id,
    method: 'delete'
  })
}
